package com.movitech.mobile.cz.base.modules.config.util;

import java.util.HashMap;
import java.util.Map;

import com.movitech.mobile.cz.base.modules.config.SuppliersCategoryTemplateTypeEnum;

import lombok.Data;

public class SuppliersCategoryTemplateTypeEnumUtil {
	
	public static final Map<Integer, String> suppliersCategoryTemplateTypeEnumMap = new HashMap<Integer, String>();
	
	static {
		SuppliersCategoryTemplateTypeEnum[]  arr = SuppliersCategoryTemplateTypeEnum.values();
		if(arr != null && arr.length > 0){
			for(int i = 0; i < arr.length -1; i++){
				suppliersCategoryTemplateTypeEnumMap.put(arr[i].getCode(), arr[i].getDesc());
			}
		}
	}

}
